Skip to main content

5.1 Penalty End Date and Removal Date Calculation

This section explains how the Penalty End Date and Removal Date are determined for penalties associated with driver offences. These dates are derived from the penaltyPointsExpiryDate provided by the DVLA.


5.1.2 End Date

The End Date is the date after which the penalty is no longer applicable. This is determined as follows:

Process Overview

  1. Source: Use the penaltyPointsExpiryDate provided by the DVLA as the End Date.
  2. Validation: If penaltyPointsExpiryDate is missing or unavailable, set the End Date to null.
  3. Result: The final value is the penalty’s End Date.

Mermaid Diagram for End Date Calculation


5.1.3 Removal Date Calculation

The Removal Date is when the penalty record is removed from the system. It is calculated as follows:

Process Overview

  1. Source: Use the penaltyPointsExpiryDate from the DVLA as the basis for the Removal Date.
  2. Calculation: Add 1 year to the penaltyPointsExpiryDate.
  3. Validation: If penaltyPointsExpiryDate is missing or unavailable, set the Removal Date to null.
  4. Result: The final value is the penalty’s Removal Date.

Mermaid Diagram for Removal Date Calculation


Example Walkthrough

Given:

  • Penalty Code: CD40
  • offence Date: 2020-01-01
  • Conviction Date: 2021-01-01
  • penaltyPointsExpiryDate (from DVLA): 2030-01-01
  • License Status: Disqualified

Steps:

  1. Fetch the penaltyPointsExpiryDate for the penalty from DVLA.
  2. Set End Date as penaltyPointsExpiryDate.
  3. Set Removal Date as penaltyPointsExpiryDate + 1 year.

Result:

  • End Date: 2030-01-01
  • Removal Date: 2031-01-01
Status: Draft (Pending Review)
Category: Protected
Authored By: Sohan on Jan 15, 2025
Status: Draft (Pending Review)
Category: Protected
Authored By: Rushikesh on July 24, 2025